package com.econ.powercloud.ems.common.enums;

/**
 * Excel的模板枚举
 * @author chenxiaoqi
 * @since 2021/08/02
 */
public enum ExcelTemplateEnum implements EnumMethod {

    /**  */
    HIS_DATA_EXPORT(1, "点号历史数据导出模板", "templates/his_data_export.xlsx"),
    ;

    private final Integer code;
    private final String desc;
    private final String templatePath;

    ExcelTemplateEnum(Integer code, String desc, String templatePath) {
        this.code = code;
        this.desc = desc;
        this.templatePath = templatePath;
    }

    @Override
    public Integer getCode() {
        return code;
    }

    @Override
    public String getDesc() {
        return desc;
    }

    public String getTemplatePath() {
        return templatePath;
    }
}
